package com.moonshineproject.plugin.settings.validators
{
	public class StringValidator implements IValidator
	{
		public function StringValidator(minLength:Number
										=-1,maxLength:Number=-1,noSpaces:Boolean = false,
		restrictChars:Object=null,badChars:Object=null)
		{
		}
		/**
		 * 
		 * @param content
		 * @param rules
		 * Rules can be one be any of the following
		 * minValue - minimun string length
		 * maxValue
		 * noSpaces
		 * restrictChars
		 * badChars
		 * @return 
		 * 
		 */		
		public function validate(content:Object, rules:Object=null):Boolean
		{
			return false;
		}
	}
}